package com.czxy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 品牌类   （与分类 多对多关系）
 * @author Liuyunqin 17674029449@163.com
 * @date 2018/12/20 9:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table(name = "tb_brand")
public class Brand {

    @Id
    private Integer id;

    /**
     * 品牌名称
     */
    @Column(name = "brand_name")
    private String brand_name;

    /**
     * 品牌商标
     */
    @Column(name = "logo")
    private String logo;
}
